2006-06-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintoperation.c: Register create_custom_widget as
+ an object-returning signal. (#344505, Marko Anastasov, patch
+ by Christian Persch)
+
+ * gtk/gtkmarshalers.list: Add the right marshaller.
+
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
2006-06-10 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintoperation.c: Register create_custom_widget as
+ an object-returning signal. (#344505, Marko Anastasov, patch
+ by Christian Persch)
+
+ * gtk/gtkmarshalers.list: Add the right marshaller.
+
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
gboolean continue_emission;
GtkWidget *widget;
- widget = g_value_get_pointer (handler_return);
+ widget = g_value_get_object (handler_return);
if (widget != NULL)
- g_value_set_pointer (return_accu, widget);
+ g_value_set_object (return_accu, widget);
continue_emission = (widget == NULL);
return continue_emission;
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintOperationClass, create_custom_widget),
custom_widget_accumulator, NULL,
- _gtk_marshal_POINTER__VOID,
- G_TYPE_POINTER, 0);
+ _gtk_marshal_OBJECT__VOID,
+ G_TYPE_OBJECT, 0);
/**
* GtkPrintOperation::custom-widget-apply: